Completed
Pull Request — develop (#106)
by
unknown
01:20
created

scales.js ➔ define   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
dl 0
loc 6
rs 9.4285
nop 1
1
define(['d3-interpolate'], function (d3Interpolate) {
2
  return {
3
    link: d3Interpolate.interpolate(config.constance.scales.link[0], config.constance.scales.link[1]),
4
    background: d3Interpolate.interpolate(config.constance.scales.background[0], config.constance.scales.background[1])
5
  };
6
});
7